package com.hl.card.credit.service.remote;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("CARD-PACKAGE-AWARD")
public interface RewardService {
    @RequestMapping(value = "/api/commonReward", method = RequestMethod.GET)
    Object  commonReward(@RequestParam("prodCode") String prodCode,@RequestParam("orderId") String orderId,@RequestParam("parentRecommender") String parentRecommender,@RequestParam("recommender") String recommender,@RequestParam("userId") String userId,@RequestParam("amount") String amount,@RequestParam("unfreezeTime") String unfreezeTime);
}
